package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_gourd_plant_watering")
public class LogGourdPlantWatering {

    @FieldTypeAnnotation(desc = "用户ID")
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID")
    private int activityId;
    @FieldTypeAnnotation(desc = "浇水类型(1:1次；2：7次)")
    private int type;
    @FieldTypeAnnotation(desc = "颜色(葫芦id,葫芦id)")
    private String colors;
    @FieldTypeAnnotation(desc = "浇水奖励")
    private String rewards = "";
    @FieldTypeAnnotation(desc = "浇水积分")
    private int score;
    @FieldTypeAnnotation(desc = "组合id")
    private int combId;
    @FieldTypeAnnotation(desc = "组合奖励")
    private String rewards2 = "";
    @FieldTypeAnnotation(desc = "组合积分")
    private int combScore;
    @FieldTypeAnnotation(desc = "时间")
    private Date time;

    public LogGourdPlantWatering(long userId, int activityId, int type) {
        this.userId = userId;
        this.activityId = activityId;
        this.type = type;
        this.time = new Date();
    }

    public LogGourdPlantWatering(long userId, int activityId, int type, String colors, String rewards, int score, int combId, String rewards2, int combScore) {
        this.userId = userId;
        this.activityId = activityId;
        this.type = type;
        this.colors = colors;
        this.rewards = rewards;
        this.score = score;
        this.combId = combId;
        this.rewards2 = rewards2;
        this.combScore = combScore;
        this.time = new Date();
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getColors() {
        return colors;
    }

    public void setColors(String colors) {
        this.colors = colors;
    }

    public String getRewards() {
        return rewards;
    }

    public void setRewards(String rewards) {
        this.rewards = rewards;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getCombId() {
        return combId;
    }

    public void setCombId(int combId) {
        this.combId = combId;
    }

    public String getRewards2() {
        return rewards2;
    }

    public void setRewards2(String rewards2) {
        this.rewards2 = rewards2;
    }

    public int getCombScore() {
        return combScore;
    }

    public void setCombScore(int combScore) {
        this.combScore = combScore;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
